package net.whzjkj.gateway.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import java.math.BigDecimal;
import lombok.Data;
import lombok.experimental.Accessors;

import java.util.Date;

/**
 * 指令记录
 */
@Data
@Accessors(chain = true)
public class ObdCommandRecord extends Model<ObdCommandRecord> {

	@TableId(value = "id", type = IdType.ID_WORKER_STR)
	private String id;
	
	@ApiModelProperty("设备imei")
	private String imei;
	
	@ApiModelProperty("内容")
	private String content;
	
	@ApiModelProperty("创建时间")
	private Date date;
	
	@ApiModelProperty("指令动作")
	private String act;
	
	@ApiModelProperty("指令类型(1-接收  2-发送)")
	private Integer type;
	
}